﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Square:Shape
    {
        double sideLen;

        public double SideLen
        {
            get { return this.sideLen; }
            set { this.sideLen = value; }
        }
        public override void GetArea()
        {
            double a = sideLen * sideLen;
            Console.WriteLine(a);
        }
    }
}
